package com.nothing.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
 * 
 * @author shíQíang㊚
 *
 */
@TableName("USER_FACE_IMG")
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper=false)
public class UserFaceImg extends Model<UserFaceImg>{ 
	private static final long serialVersionUID = -2249116587535833876L;
	@TableId(type= IdType.AUTO)
    private Long 	id; 
    private int 	width;
    private int 	hight;
    private int 	state;
    private byte[] 	img;
	@Override
	protected Serializable pkVal() { 
		return this.id;
	} 
    
}